home *** CD-ROM | disk | FTP | other *** search
/ Secrets of Stargate / STARGATE.iso / mac / STARGATE (5MB Macintosh) / STARGATE (5MB Macintosh).DXR / 00139.ls < prev    next >
Encoding:
Text File  |  1994-10-19  |  1.5 KB  |  65 lines

  1. on idle
  2. end
  3.  
  4. on exitFrame
  5.   go(the frame)
  6. end
  7.  
  8. on enterFrame
  9.   global gOnPC, mouseUp, gSysVol, gMovieStartMod
  10.   if the pauseState = 0 then
  11.     spinCursor()
  12.     set the visible of sprite 35 to 0
  13.     pause()
  14.     puppetPalette(value(the number of cast "walk palette"))
  15.     updatePalette()
  16.     set the visible of sprite 35 to 1
  17.     set the puppet of sprite 35 to 1
  18.     set theVolume to 150
  19.     set theVolume to integer(gSysVol * (float(theVolume) / float(255)))
  20.     set theVolume to integer(theVolume * 1.5)
  21.     if theVolume > 255 then
  22.       set theVolume to 255
  23.     end if
  24.     set the volume of sprite 35 to 0
  25.     set the puppet of sprite 35 to 1
  26.     continue()
  27.     updateStage()
  28.     stopCursor()
  29.     set the volume of sprite 35 to gSysVol
  30.     preRollMov(35)
  31.     set earlyExit to 0
  32.     set cont to 1
  33.     repeat while cont
  34.       set the movieRate of sprite 35 to 1
  35.       updateStage()
  36.       if the movieRate of sprite 35 > 0 then
  37.         exit repeat
  38.       end if
  39.     end repeat
  40.     repeat while the movieRate of sprite 35 > 0
  41.       if the mouseDown = 1 then
  42.         set the movieRate of sprite 35 to 0
  43.         set earlyExit to 1
  44.         exit repeat
  45.       end if
  46.       updateStage()
  47.     end repeat
  48.     spinCursor()
  49.     set the movieRate of sprite 35 to 0
  50.     set the visible of sprite 35 to 0
  51.     set the puppet of sprite 35 to 0
  52.     puppetPalette(0)
  53.     updateStage()
  54.     wait(10)
  55.     spinCursor()
  56.     dissolveEffect()
  57.     go("Start2")
  58.     spinCursor()
  59.     unLoad(1, 9)
  60.     palaceCursors(1)
  61.     startMouse()
  62.     resetCursor()
  63.   end if
  64. end
  65.